package cn.wen.mybatis.framework.session;/** * 分页查询 */public class RowBounds {    public static final int NO_ROW_OFFSET = 0;    public static final int NO_ROW_LIMIT = Integer.MAX_VALUE;    public static final RowBounds DEFAULT = new RowBounds();    private final int offset;    private final int limit;    public RowBounds() {        /**         * 默认不分页         */        this.offset = NO_ROW_OFFSET;        this.limit = NO_ROW_LIMIT;    }    public RowBounds(int offset, int limit) {        this.offset = offset;        this.limit = limit;    }    public int getOffset() {        return offset;    }    public int getLimit() {        return limit;    }}